import {lottie} from './run.js'
import {animData} from './data.js'

var animData1 = {
    wrapper: null,
    animType: 'canvas',
    loop: true,
    prerender: true,
    autoplay: true,
    animationData: animData
};
let loopCountForPreheat = 1;
for(let i = 0;i < loopCountForPreheat;i++){
	lottie.loadAnimation(animData1);
}
(function sleep() {
    const start = Date.now();
    const delay = 5000;
    while (Date.now() - start < delay) {}
    })()
//real run
var anim = lottie.loadAnimation(animData1);

